package spacewar2.clients;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.UUID;

import spacewar2.actions.DoNothingAction;
import spacewar2.actions.SpacewarAction;
import spacewar2.actions.SpacewarPurchaseEnum;
import spacewar2.objects.Ship;
import spacewar2.objects.SpacewarActionableObject;
import spacewar2.objects.SpacewarObject;
import spacewar2.powerups.SpacewarPowerup;
import spacewar2.shadows.Shadow;
import spacewar2.simulator.Toroidal2DPhysics;

public class DoNothingTeamClient extends TeamClient {
	@Override
	public void initialize() {
		// TODO Auto-generated method stub

	}

	@Override
	public void shutDown() {
		// TODO Auto-generated method stub

	}

	@Override
	public Map<UUID, SpacewarAction> getMovementStart(Toroidal2DPhysics space,
			Set<SpacewarActionableObject> actionableObjects) {
		HashMap<UUID, SpacewarAction> actions = new HashMap<UUID, SpacewarAction>();
		for (SpacewarObject actionable : actionableObjects) {
				actions.put(actionable.getId(), new DoNothingAction());
		}
		return actions;
	}

	@Override
	public void getMovementEnd(Toroidal2DPhysics space, Set<SpacewarActionableObject> actionableObjects) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Set<Shadow> getNewShadows() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Set<Shadow> getOldShadows() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	/**
	 * Do nothing never purchases
	 */
	public Map<UUID, SpacewarPurchaseEnum> getTeamPurchases(Toroidal2DPhysics space,
			Set<Ship> ships, int availableMoney, int currentCostNewBase) {
		// TODO Auto-generated method stub
		return new HashMap<UUID,SpacewarPurchaseEnum>();
	}

	@Override
	public Map<UUID, SpacewarPowerup> getPowerups(Toroidal2DPhysics space,
			Set<SpacewarActionableObject> actionableObjects) {
		// TODO Auto-generated method stub
		return null;
	}

}
